package com.ht.service.aduit.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ht.dao.aduit.ModuleMapper;
import com.ht.bean.aduit.Module;
import com.ht.service.aduit.ModuleService;

import java.util.List;

/**
 * @author lrq
 * @date 2020/6/30 20:05
 * 
 */
@Service
public class ModuleServiceImpl implements ModuleService{

    @Resource
    private ModuleMapper moduleMapper;

    @Override
    public List<Module> selectByZ(Integer id) {
        return moduleMapper.selectByZ(id);
    }

    @Override
    public int deleteByPrimaryKey(Integer moduleid) {
        return moduleMapper.deleteByPrimaryKey(moduleid);
    }

    @Override
    public int insert(Module record) {
        return moduleMapper.insert(record);
    }

    @Override
    public int insertSelective(Module record) {
        return moduleMapper.insertSelective(record);
    }

    @Override
    public Module selectByPrimaryKey(Integer moduleid) {
        return moduleMapper.selectByPrimaryKey(moduleid);
    }

    @Override
    public int updateByPrimaryKeySelective(Module record) {
        return moduleMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Module record) {
        return moduleMapper.updateByPrimaryKey(record);
    }

}
